﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="View.aspx.cs" Inherits="IDML.Web.Modules.Patient.View" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>

<%--<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">--%>
<head id="Head1" runat="server">
    <title>IML</title>
</head>
<body>
    <form id="form1" runat="server">
        <ajax:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />
        <ajax:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1" Style="margin-right: 437px" Width="909px">
            <ajax:TabPanel ID="tpnlProfile" runat="server">
                <HeaderTemplate>Patient Profile</HeaderTemplate>
                <ContentTemplate>
                    <table>
                        <tr>
                            <td>First Name:
                            </td>
                            <td>
                                <b>
                                    <asp:Label ID="lblFirstName" runat="server"></asp:Label>
                                </b>
                            </td>
                        </tr>
                        <tr>
                            <td>Last Name:
                            </td>
                            <td>
                                <b>
                                    <asp:Label ID="lblLastName" runat="server"></asp:Label>
                                </b>
                            </td>
                        </tr>
                        <tr>
                            <td>Phone Number:
                            </td>
                            <td>
                                <b>
                                    <asp:Label ID="lblPhoneNumber" runat="server"></asp:Label>
                                </b>
                            </td>
                        </tr>
                        <tr>
                            <td>Mobile Number:
                            </td>
                            <td>
                                <b>
                                    <asp:Label ID="lblMobileNumber" runat="server"></asp:Label>
                                </b>
                            </td>
                        </tr>

                    </table>
                </ContentTemplate>
            </ajax:TabPanel>
            <ajax:TabPanel ID="tbpnlusrdetails" runat="server">
                <HeaderTemplate>
                    Billing
                </HeaderTemplate>
                <ContentTemplate>
                    <table>
                        <tr>
                            <td>Test Code: 
                            </td>
                            <td>
                                <asp:TextBox ID="txtTestCode" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                <asp:Button ID="btnAddTestPay" runat="server" Text="Add" OnClick="btnAddTestPay_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:UpdatePanel ID="orderDetailsUpdatePanel" runat="server">
                                    <ContentTemplate>
                                        <asp:GridView ID="gwPaymentView" DataKeyNames="TestId" OnRowDeleting="gwPaymentView_RowDeleting" AutoGenerateColumns="false" runat="server">
                                            <Columns>
                                                <asp:BoundField DataField="TestId" HeaderText="TestId" Visible="false" ReadOnly="true" />
                                                <asp:BoundField DataField="TestFeeStructureId" HeaderText="TestFeeStructureId" Visible="false" />
                                                <asp:BoundField DataField="TestCode" HeaderText="Test Code" />
                                                <asp:BoundField DataField="TestName" HeaderText="Test Name" />
                                                <asp:BoundField DataField="Amount" HeaderText="Amount" />
                                                <asp:TemplateField ShowHeader="False">
                                                    <ItemTemplate>
                                                        <asp:ImageButton ID="imgBtnDel" runat="server" CommandName="Delete" ImageUrl="~/Images/icon_delete.png" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </ContentTemplate>
                                    <Triggers>
<asp:AsyncPostBackTrigger ControlID="btnAddTestPay" EventName="Click" />
</Triggers>
                                </asp:UpdatePanel>
                            </td>
                        </tr>

                    </table>
                </ContentTemplate>
            </ajax:TabPanel>
        </ajax:TabContainer>
    </form>
</body>
<%--</asp:Content>--%>
